Ray-Patch Intersection for Improving Rendering Quality of Per-pixel Displacement Mapping
نویسندگان
چکیده
Recent GPU advances have popularized pixel-shader based techniques for per-pixel displacement mapping. An important step in the process is to compute intersection of ray with a bilinear patch approximating the displacement map. Accurate ray-patch intersection can significantly enhance the quality of rendered images. However, the increase in quality comes at a significant computation cost resulting in a substantial drop in performance. This paper explores this trade-off between computation and quality. We propose several techniques for ray-patch intersection and compare it to exact ray-quadric/ray-bilinear intersection proposed previously. We show that our quadric based local-gradient-plane approximation achieves a comparable visual quality with a significant performance improvement.
منابع مشابه
Per-Pixel Displacement Mapping and Distance Maps
Based on a standard software ray-tracer with soft shadowing and glossy reflection capabilities, I present a per-pixel displacement mapping algorithm. This algorithm modifies the intersection routine already used for shadows and reflections and so they are preserved. The algorithm relies on a distance map, which along with a normal map for lighting information, can be generated for each point in...
متن کاملInverse Displacement Mapping
Inverse displacement mapping is a variant of displacement mapping which does not actually perturb the geometry of the surface being mapped. It is thus a true texture mapping technique which can be applied during rendering without breaking viewing pipeline discipline. The method works by first projecting probing rays into texture space and solving for a ray-texture intersection there. Shadows ca...
متن کاملPer-pixel Rendering of Terrain Data
This paper presents a novel approach to terrain rendering, which mostly relies on GPU/shader rather than CPU. The most popular representation for terrain data is uniformly sampled height field. As the height field is stored as a texture map, it is directly accessible by a pixel shader. The pixel shader uses a ray casting algorithm, and the CPU and the vertex shader provide ray information to be...
متن کاملFast visualization of complex 3D models using displacement mapping
We present a simple method to render complex 3D models at interactive rates using real-time displacement mapping. We use an octree to decompose the 3D model into a set of height fields and display the model by rendering the height fields using per-pixel displacement mapping. By simply rendering the faces of the octree voxels to produce fragments for ray-casting on the GPU, and with straightforw...
متن کاملFast (Spherical) Light Field Rendering with Per-Pixel Depth
Image-based rendering techniques are a powerful alternative to traditional polygon-based computer graphics. This paper presents a novel light field rendering technique which performs per-pixel depth correction of rays for high-quality reconstruction. Our technique stores combined RGB and depth values in a parabolic 2D texture for every light field sample acquired at discrete positions on a unif...
متن کامل